<%@include file="/pub/import.jsp"%>
<%@include file="/pub/header.jsp"%>
<%
    int projectId = RequestUtil.getIntParameter(request,"id",0);
    Project project = ProjectHandler.getProject(projectId);
    String ignoreIds = "";
    if(StringUtils.isEmpty(project.getBuildUnit())) ignoreIds += "1,";
    if(StringUtils.isEmpty(project.getConstructUnit())) ignoreIds += "3,";
    if(StringUtils.isEmpty(project.getSupervisorUnit())) ignoreIds += "40,";
    if(StringUtils.isEmpty(project.getDesignUnit())) ignoreIds += "44,";
    ignoreIds = StringUtil.cutLastComm(ignoreIds);
    context.put("projectId",projectId);
    context.put("cateTree", ScoreTreeHandler.getTreeCheckBoxString(ignoreIds));
    out.println(TemplateUtil.getOutput(context,"/view/project/selectProjectScoreItem.html"));
%>
<%@include file="/pub/footer.jsp"%>